package com.thesis.service;

import com.thesis.entity.SysUser;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * Created by Anvy at 2020/3/10.
 */
public interface UserService {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    Page<SysUser> findPageList(SysUser record);

    Page<SysUser> findPageListByVague( SysUser queryParam, String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    List<SysUser> checkObj(SysUser record);

    SysUser findByMobile(String mobile);
}
